       <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">

          <h2>课程管理</h2>
         
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#addCourse"><span class="glyphicon glyphicon-plus"></span>添加
</button>

<!-- Modal -->
<div class="modal fade" id="addCourse" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
        <h4 class="modal-title" id="myModalLabel">添加课程</h4>
      </div><!-- /.modal-header -->
      <form name = "courseInsertForm" id = "courseInsertForm">
      <div class="modal-body">
                    <div class= "row form-group"><div class="col-md-12"><label class="control-label">课程编号</label></div></div>
                    <div class= "row form-group"><div class="col-md-12"><input class="form-control" placeholder=courseId name="courseId"></div></div> 
                    <div class= "row form-group"><div class="col-md-12"><label class="control-label">课程名</label></div></div>
                    <div class= "row form-group"><div class="col-md-12"><input class="form-control" placeholder=courseName name="courseName"></div></div> 
                    <div class= "row form-group"><div class="col-md-12"><label class="control-label">任课教师</label></div></div>
                    <div class= "row form-group"><div class="col-md-12"><input class="form-control" placeholder=courseTeacher name="courseTeacher"></div></div>
                     <div class= "row form-group"><div class="col-md-12"><label class="control-label">上课时间</label></div></div>
                    <div class= "row form-group"><div class="col-md-12"><input class="form-control" placeholder=courseTime name="courseTime"></div></div>  
                    <div class= "row form-group"><div class="col-md-12"><label class="control-label">上课教室</label></div></div>
                    <div class= "row form-group"><div class="col-md-12"><input class="form-control" placeholder="courseRoom" name="courseRoom"></div></div> 
      </div><!-- /.modal-body -->
				      <div class="modal-footer">
				        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
				        <button type="button" class="btn btn-default" data-dismiss="modal"  ng-click="insertCourse()">确认提交</button>
				      </div><!-- /.modal-footer -->
                  </form>
      </div><!-- /.modal-content -->

    </div><!-- /.modal-dialog -->
  </div><!-- /.myModal -->
            
 
          <button type="button" class="btn btn-default " id="del_mode" ng-click = "deleteCourse()"><span class="glyphicon glyphicon-remove"></span>  批量删除</button>
          <h2 class="sub-header"></h2>
          <div class="table-responsive" ng-controller="checkController">
            <table class="table table-striped">
              <thead>
                <tr>
                  <th><input type="checkbox" name="slectAll" id="selectAllCourse" ng-click="checkAllCourse()"></th>
                  <th>课程编号</th>
                  <th>课程名</th>
                  <th>任课教师</th>
                  <th>上课时间</th>
                  <th>上课教室</th>
                  <th>操作</th>
                </tr>
              </thead>
              <tbody>

	                <tr ng-repeat= "item in courseList">
	                  <td><input type="checkbox" name="coursebox" value="{{item.courseId}}"></td>
	                  <td><a href="#">{{ item.courseId }}</a></td>
	                  <td>{{ item.courseName }}</td>
	                  <td><a href="#" ng-click="showTeacher(item.courseTeacher)">{{ item.courseTeacher }}</a></td> 
	                  <td>{{ item.courseTime }}</td>
                    <td>{{ item.courseRoom }}</td>
	                  <td><a href="#" ng-click = "deleteCourse( item.courseId )">删除</a>
	                </tr>  
                
              </tbody>
            
            </table>

              <ul class="pagination navbar-right">
                  <li><a href="#" ng-click = "pageCourseManagement( courseManagementPage - 1)">&laquo;</a></li>
                  <li><a href="#"> {{ courseManagementPage }} </a></li>
                   <li><a href="#" ng-click = "pageCourseManagement( courseManagementPage + 1 )">&raquo;</a></li>
              </ul>
          </div>
        </div>
